package com.xuzz.study.io.mynetty;

import java.net.InetSocketAddress;

/**
 * @Description
 * @Date 2023/4/5 21:04
 * @Created by xuzz3@asiainfo-sec.com
 */
public class MyNettyServerTest {
    public static void main(String[] args){
        ThreadSelectorGroup boss = new ThreadSelectorGroup(1);
        ThreadSelectorGroup workder = new ThreadSelectorGroup(5);

        ServerBootStrap serverBootStrap = new ServerBootStrap(boss,workder);
        serverBootStrap.bind(new InetSocketAddress("127.0.0.1",8081));
    }
}
